package com.huilian.security.app;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author: 少凡
 * @Date 2018/3/28 17:51
 */
@Controller
public class RefreshTokenController {

    @RequestMapping(value = {"/api/oauth/token"}, method = {RequestMethod.POST})
    public String refreshToken(@RequestParam Map<String, String> parameters) {

        return "forward:/oauth/token";
    }
}
